const finalRegistry = new FinalizationRegistry((v) => {
  console.log('注册在finalRegistry的对象，某一个被销毁了', v)
})
let obj = {name: 'k'}
let info = new WeakRef(obj)
console.log(info.deref())
finalRegistry.register(obj, 'obj value')

obj = null
